<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org"
	xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
	layout:decorator="layouts/layout">
<head>
<title>Home</title>
</head>
<body>

	<th:block layout:fragment="content">
		<div class="container-wrapper">
			<div class="container">
				<div class="page-header">
					<h1>Cutomer</h1>


					<p class="lead">Customer Details:</p>
				</div>

				
				<form th:object="${order}" th:action="${flowExecutionUrl}" class="form-horizontal" method="POST">
					<h3>Shipping Address:</h3>

					<div class="form-group">
						<label for="shippingStreet">Street Name</label>
						<input type="text" th:field="*{cart.customer.shippingAddress.streetname}" class="form-control" />
						
					</div>

					<div class="form-group">
						<label for="shippingApartmentNumber">Apartment Number</label>
						<input type="text" th:field="*{cart.customer.shippingAddress.apartmentnumber}" class="form-control" />
						
					</div>

					<div class="form-group">
						<label for="shippingCity">City</label>
						<input type="text" th:field="*{cart.customer.shippingAddress.city}" class="form-control" />
						
					</div>

					<div class="form-group">
						<label for="shippingState">State</label>
						<input type="text" th:field="*{cart.customer.shippingAddress.state}" class="form-control" />
						
					</div>

					<div class="form-group">
						<label for="shippingCountry">Country</label>
						<input type="text" th:field="*{cart.customer.shippingAddress.country}" class="form-control" />
						
					</div>

					<div class="form-group">
						<label for="shippingZip">Zipcode</label>
						<input type="text" th:field="*{cart.customer.shippingAddress.zipcode}" class="form-control" />
						
					</div>

					<input type="hidden" name="_flowExecutionKey" />

					<br />
					<br />

					<input type="submit" value="Back" class="btn btn-default"
						name="_eventId_backToCollectCustomerInfo" />
					<input type="submit" value="Next" class="btn btn-default"
						name="_eventId_shippingDetailCollected" />
					<input type="submit" value="Cancel" class="btn btn-default"
						name="_eventId_cancel" />

				</form>
			</div>
		</div>
	</th:block>

</body>
</html>